$OpenBSD: patch-lib_puppet_type_package_rb,v 1.2 2015/06/01 06:41:00 jasper Exp $

add new feature flavorable, and switch handling the flavor 
as a property instead of a parameter

--- lib/puppet/type/package.rb.orig	Wed Mar 25 17:32:47 2015
+++ lib/puppet/type/package.rb	Sun Apr 12 13:54:12 2015
@@ -56,6 +56,7 @@ module Puppet
       provider-specific.",
       :methods => [:package_settings_insync?, :package_settings, :package_settings=]
     feature :virtual_packages, "The provider accepts virtual package names for install and uninstall."
+    feature :flavorable, "The provider accepts package flavors."
 
     ensurable do
       desc <<-EOT
@@ -384,7 +385,7 @@ module Puppet
       newvalues(:true, :false)
     end
 
-    newparam(:flavor) do
+    newproperty(:flavor, :required_features => :flavorable) do
       desc "OpenBSD supports 'flavors', which are further specifications for
         which type of package you want."
     end
